package com.ruoyi.project.channel.businessRate.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 商户对应通道费率表 business_rate
 *
 * @author CAIN
 * @date 2019-06-29
 */
public class BusinessRate extends BaseEntity
{
	private static final long serialVersionUID = 1L;

	/** id */
	private Long rateId;
	/** 商户id */
	private Long businessId;
	/** 商户id */
	private String businessName;
	/** 支付类型 */
	private String payType;
	private String payTypeLabel;
	/** 费率 */
	private BigDecimal payRate;
	/** 使用状态(0: 正常 1:停用) */
	private String useStatus;
	/**  */
	private Long channelId;
	/**  */
	private String channelPayType;
	/**  */
	private BigDecimal channelRate;
	/**  */
	private Long payerId;
	/** 支付商支付类型 */
	private String payerPayType;
	/** 支付商费率 */
	private BigDecimal payerPayRate;
	/** 支付商商户id */
	private String payerBusinessId;

	private String channelUserName;
	private String payerUserName;
	private String channelPayTypeLabel;
	private String payerPayTypeLabel;
	private BigDecimal minAmount;
	private BigDecimal maxAmount;
	public void setRateId(Long rateId)
	{
		this.rateId = rateId;
	}

	public Long getRateId()
	{
		return rateId;
	}
	public void setBusinessId(Long businessId)
	{
		this.businessId = businessId;
	}

	public Long getBusinessId()
	{
		return businessId;
	}
	public void setPayType(String payType)
	{
		this.payType = payType;
	}

	public String getPayType()
	{
		return payType;
	}
	public void setPayRate(BigDecimal payRate)
	{
		this.payRate = payRate;
	}

	public BigDecimal getPayRate()
	{
		return payRate;
	}
	public void setUseStatus(String useStatus)
	{
		this.useStatus = useStatus;
	}

	public String getUseStatus()
	{
		return useStatus;
	}
	public void setChannelId(Long channelId)
	{
		this.channelId = channelId;
	}

	public Long getChannelId()
	{
		return channelId;
	}
	public void setChannelPayType(String channelPayType)
	{
		this.channelPayType = channelPayType;
	}

	public String getChannelPayType()
	{
		return channelPayType;
	}
	public void setChannelRate(BigDecimal channelRate)
	{
		this.channelRate = channelRate;
	}

	public BigDecimal getChannelRate()
	{
		return channelRate;
	}
	public void setPayerId(Long payerId)
	{
		this.payerId = payerId;
	}

	public Long getPayerId()
	{
		return payerId;
	}
	public void setPayerPayType(String payerPayType)
	{
		this.payerPayType = payerPayType;
	}

	public String getPayerPayType()
	{
		return payerPayType;
	}
	public void setPayerPayRate(BigDecimal payerPayRate)
	{
		this.payerPayRate = payerPayRate;
	}

	public BigDecimal getPayerPayRate()
	{
		return payerPayRate;
	}

	public String toString() {
		return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
				.append("rateId", getRateId())
				.append("businessId", getBusinessId())
				.append("payType", getPayType())
				.append("payRate", getPayRate())
				.append("createTime", getCreateTime())
				.append("updateTime", getUpdateTime())
				.append("remark", getRemark())
				.append("useStatus", getUseStatus())
				.append("channelId", getChannelId())
				.append("channelPayType", getChannelPayType())
				.append("channelRate", getChannelRate())
				.append("payerId", getPayerId())
				.append("payerPayType", getPayerPayType())
				.append("payerPayRate", getPayerPayRate())
				.append("payerBusinessId", getPayerBusinessId())
				.toString();
	}

	public String getBusinessName() {
		return businessName;
	}

	public void setBusinessName(String businessName) {
		this.businessName = businessName;
	}

	public String getPayTypeLabel() {
		return payTypeLabel;
	}

	public void setPayTypeLabel(String payTypeLabel) {
		this.payTypeLabel = payTypeLabel;
	}

	public String getChannelUserName() {
		return channelUserName;
	}

	public void setChannelUserName(String channelUserName) {
		this.channelUserName = channelUserName;
	}

	public String getChannelPayTypeLabel() {
		return channelPayTypeLabel;
	}

	public void setChannelPayTypeLabel(String channelPayTypeLabel) {
		this.channelPayTypeLabel = channelPayTypeLabel;
	}

	public String getPayerUserName() {
		return payerUserName;
	}

	public void setPayerUserName(String payerUserName) {
		this.payerUserName = payerUserName;
	}

	public String getPayerPayTypeLabel() {
		return payerPayTypeLabel;
	}

	public void setPayerPayTypeLabel(String payerPayTypeLabel) {
		this.payerPayTypeLabel = payerPayTypeLabel;
	}

	public String getPayerBusinessId() {
		return payerBusinessId;
	}

	public void setPayerBusinessId(String payerBusinessId) {
		this.payerBusinessId = payerBusinessId;
	}

	public BigDecimal getMinAmount() {
		return minAmount;
	}

	public void setMinAmount(BigDecimal minAmount) {
		this.minAmount = minAmount;
	}

	public BigDecimal getMaxAmount() {
		return maxAmount;
	}

	public void setMaxAmount(BigDecimal maxAmount) {
		this.maxAmount = maxAmount;
	}
}
